<?php include './application/views/common/zhs_header.php';?>

<!-- center部分 -->
<div class="newtitle-box">
  <div class="newtitle w">
    <span class="invlist_title">您现在的位置：<a href="index.html">首页</a>><a href="#">会员中心</a>><a href="#">投资管理 </a>><a class="red" href="#">我的投资</a></span>
  </div>
  </div>
<?php include './application/views/common/zhs_usercenter_acnt.php';?>
<div class="inv_box w">
<?php include './application/views/common/zhs_usercenter_left.php';?>

  <div class="membd_right">
    <h3 class="membdrg_tit">没时间自己投标？一点投自动投标助您轻松理财<a class="zdbtn" href="#"></a></h3>
    <div class="invxq_bd1">
      <ul class="inv_tbs" id="inv_tbs">
        <li><a href="/userborrow/zhs_coll.html">回款中的标的</a></li>
        <li><a href="/userborrow/zhs_now.html">投标中的标的</a></li>
        <li><a href="/userborrow/zhs_success.html">已结清的标的</a></li>
      </ul>
      <div class="invxq_cont" id="invxq_cont">
        <div class="xq_body pt">
            <table class="membd_tab">
      <thead>
        <tr>
          <th width="187" height="38">标的名称</th>
          <th width="90">年利率</th>
          <th width="89">标的期限</th>
          <th width="89">投资本金 </th>
          <th width="97">应收本息 </th>
          <th width="104">投标时间</th>
          <th width="102">还款时间</th>
        </tr>
      </thead>
      <tbody>
        
        <?php $i=0; foreach($tender_list as $col){?>
		  <tr <?php if($i%2==0){?> class="table_gray"<?php }?>>
		 	<td height="44"><a href="/borrow/obj/<?php echo $col['borrow_id'];?>.html"><?php echo $col['title'];?></a></td>
			<td><?php echo $col['apr'];?> %</td>
			<td><?php if($col['is_day'] == 1){echo $col['time_limit_day'].'天';}else{echo $col['time_limit'].'个月';};?></td>
			<td>&yen;<?php echo number_format($col['account'],2);?>元</td>
			<td>&yen;<?php echo number_format($col['interest'],2);?>元</td>
			<td><?php echo date('Y-m-d ',$col['add_time']);?></td>
			<td><?php echo date('Y-m-d ',$col['add_time']);?></td>
		  </tr>
		  <?php $i++; }?>

		 
		   <tr>
		  	<td align="center" colspan="8" class="page"><?php echo $this->pagination->create_links();?></td>
		  </tr>
		  

      </tbody>
    </table>
    <div class="invbd_page"><a href="#">上一页</a><a href="#">1</a><a href="#">2</a><a href="#">3</a><a href="#">4</a><a href="#">5</a><span>...</span><a href="#">100</a><a href="#">下一页</a></div>
        </div>
        <div class="xq_body">854588</div>
        <div class="xq_body">8547845558</div>
      </div>
    </div>
  </div>
</div> 
<?php include './application/views/common/zhs_footer.php';?>

<?php include './application/views/common/zhs_right.php';?>


